﻿using System.Security.Claims;

namespace Soul.IdentityServer.Services
{
    internal class TokenService : ITokenService
    {

        public TokenService()
        {

        }

        public Task<string> CreateAccessTokenAsync(TokenGrantContext context)
        {
            var token = CryptoUtility.CreateUniqueId();

            return Task.FromResult(token);
        }


        public Task<string> CreateRefreshTokenAsync(TokenGrantContext context)
        {
            throw new NotImplementedException();
        }

        public Task<string> CreateIdentityTokenAsync(TokenGrantContext context)
        {
            throw new NotImplementedException();
        }
    }
}